Refactoring Tree package