Added methods for adding a book and saving a existing book.