Moved the map creation into a game state.