Switch to SQLite.
This fixes #27 and #24.