Added some rudimentary OPCODES
fixed some code