Added a new auxiliar class GameState.