Updated app.rb routing to be more RESTful, also introduced a template