Improved handling of opcodes

also got rid of "Operands" class