change apps to sinatra