a wrapper for sqlite3. K-V interface.