added Book class for api