HUGE refactor.
continuing to refactor. Now loads mapobjects from TMX files.
more refactoring