Refactored Library intialize method and Book's attr_ variables