Lesson on adding logic to Sinatra app