First version, using sinatra.