Added a framework for animating generic objects in

Please merge