added MainMenuState, PauseState and GameOverState