Added subroutine to cnv.pl
Refactored cnv.pl. Added second subroutine
commit for branch switch
Finished refactor
Added tests for cnv.pl
Merge pull request #7 from shilab/refactor

Refactor