Added a new mapdata loading class to load the data and support calling a callback when done. We needed this for now since we want to load data before the map is loaded. TODO: split all the map-only stuff to its only file and make it a proper class.