Remove database code. It's too error-prone, too fragile, and adds extra
per-book processing time with no current benefit.