sinatra event machine demo