wrapping in a sinatra app