implemented book creation and retrieval