Convert to modular-style sinatra app and add config.ru

Closes #3