added book class and api gets actual book list