Created constructor for opcode map and removed opcode_map.