Improved the CSVPrinter

Made the CSVPrinter method based.