dry'd out the routes.rb and the create and edit book views