turned into sinatra application