refact root tools and use fragment for new version(in progress)