Added a new class for loading and saving of a map.