Added animation class

Title is self explanatory