refactor the package structure,and write some managers