Add service files for geoloaction.
Moved geolocation function into its service. Now returns a promise.