First working verision of the sqlite3 interface.