Split geolocation functions to their own source file.