Moved map layout information to a dedicated xml document and added loading methods in maploader.