Basic game management classes added

GameStateManager, GameState and EventManager. First state MainState
added for testing.