API functional testing
Support rendering books as xml.
Introduce a module for the book functionality.
Do blocking IO in the background
Extract the rest endpoint and add a unit test.