This is the sinatra cms example from: http://www.sitepoint.com/a-simple-content-management-system-in-sinatra/