Added CsvWriter and basic formatting facilities