Updated the mapLoader functionality, npcs can now be defined in the map