Replaced sqlite3 with pickle.