Adding Memory implementation; fixed duplicate opcodes