I think we can save a lot of time and effort by reworking this module to make use of the Geocoder library.
https://github.com/willdurand/Geocoder
The library is well-abstracted, with multiple different services, and is composer enabled.
I guess, if used, it might even replace this module entirely.