Created class to import map data from xmls.