Refactor functions to LocationService