switch to sqlite3, fixes #1