Update state tracking code
Add state update code, should now be able to parse state from opcode packets