created book class.