separate the map part from the HandlerData.rb to MapData.rb