GameStateManager with state transitioning implemented