refactor packet xml implements
refactor packet xml implements