added geolocation api
added initial configuration