bugfix
improvements
work on operand class
removed obsolete method
fixed exception message
added exception for '--' which is not allowed if no operands are defined
added code to define operands
added common method to define operands