adding book class