A layer that interacts with the bookinfo database. It is a rewrite of
bookapi.js