IO application on sinatra