added sinatra sample code.