Given this is defining more than one class, it probably should live in `lib/mapit_api.rb`.  Alternatively, these could be slit into separate files.