fix some bug
remove zgp dependence
some code clean
refactor files
some name change