convert to modular style extending Sinatra::Application