use a sqlite3 db to store quark data