Add resource class for a Book entity