Better animation support

Refactoring, added support for outputting skinned (as opposed to morph target) meshes