Added location services and distance calculation