before filter
Module as a helper
sinatra extensions http://www.sinatrarb.com/extensions-wild.html
gem sinatra/flash