Use sqlite3 to store data