Convert to pure ruby (sinatra as webserver)