Changing Frames to Animations.
Adding setSpriteSheet() method and few changes.