Dependency inversion in geocoding services