added book class and view