Added map.cpp, modified loadMapInfo