finished SQLite implementation.