modify python hmf
add tool.py to pack xml to hmf