Added create function for books