add tree topology module

make tree topology manager to be a module