great progress with Brandons help

reading, manipulating and outputting cdv raw data

better handle on re library and sed equivalent functionality