Created interface for location service.