Changed so a DB is now used and CSV data can be loaded into the DB.