add book and modify some logic for query
mod conflict
add init for book model