project tree refactoring