added Dynamics class; first animation attempt