Added the Animation class

A class to manage different instances of animations