Refactored code to utilize newly created ProcessCSV class.