Changed to sqlite3 for class, refinements.