Some changes to the opcode system to improve the compile time when changing opcodes

Signed-off-by: Sovak <Sovak007@gmail.com>