Improved the Sinatra-based "teaching version"