chg: refactored enumToPair
add: forgotten virt descructor
chg: refactored parseOptions
chg: moved getlastfield define from Defines to enum_helper
chg: classes for options and initial preapration on parsing output opts