Moved everything that concerns the content of one map to a MapView class to make the api more object oriented.