filled in new,index,create methods for library controller and form for new library.