added views and routes for each RESTful example operation