Switch to Rails app

Implemented so much extra on top of simple Sinatra app that it was actually a Rails app... make it so.