Added book model and controller.  Also had to work-around the issue of having column names which are reserved words in ruby/rails.  In this case 'class' caused problems for a book