Init code for sinatra.