Added a scene graph and animation updating.
Added an update loop.