DB interface to SQLite