refactoring. add create_unpacker_from_packer