New routes for sinatra example & refactors for simplicty