sinatra structure