Changed the rendering engine for 3D. Code refactoring. Added some test code to add animation frames to the timeline.