added a package called GameState and a class called GameStateManager