Implemented the map room planner.