mergen TreeManager and ProjectTreeManager, added some interfaces