Delete mock codebase to cut duplication and maintanence

* Replace mock files with if statement in functions
  which need a mock equivalent. Much less code and
  easier to maintain
* Rename some opcodes to conform to standard
Refer to previous commit. No changes.