Adding foundation for delegating inputs to gamestates.