Adding Book and LibraryItem
Making the wirte method return the objectId