Easy refactoring geolocation module