Updated Book class and retrieval method