Added animations for all game objects and made changes to structure of the code.