Moved the book class out to its own file