Sinatra references; move example to modular class