Implement the Sinatra demo application