Now minimally working. Switched from Mariadb to SQLite so as to make a
distributable package.

Next step is clean up and recommit.