Changed from mongodb to sqlite3