Geolocation module added with a constructor pattern and callbacks