cleaned up code
found that reverse geocoding doesn't work and started to fix it