PNR API, Ruby version. With Sinatra and Mongodb.