move instr and opcodes in bytecode package, finalize Encode