moved method to model and used geocoder and directions gem to calculate shortest route