Modularize map and geolocators into their own objects.