Got existing agent code in working order

Also moved the csv files to their own data directory