Refactored the Animator class and changed some method calls in GameView