Refactoring and show page
Tree builder