glueing everything together: switched to sqlite3