map class to store the map data from the robot and mapObject class to represent map objects