implemented XML and basic map files