Pardon my stupid question but is there a library with high level functions somewhere? What I see in the samples is all pretty low-level coding. I would expect there is a library with compiled and documented standard tasks like
result =SavePoseFile(filename, [actors, options])
with result some sort of return code.