CSVStream class added

Method structure was redesigned to improve reusability