Updating to use SQLite instead of a CSV file.