Refactor: clean up CsvToTable class