http://code.tutsplus.com/tutorials/singing-with-sinatra--net-18965