Added the getters and setters.
Fixing the mappedby fields.
Need to fix the model tests.
Added mapped by for the book.