Refactored geocode and calcRoute into separate methods