TODO-0: change database to sqlite3