Animation object

Move the animation to an extra animation class.
This simplifies the use of other animations, e.g. a dynamic gravity+collision animation (pull request follows).