add Query, QueryBook, and Book models