moved class Location to location.rb