refactoring & container code
code refactoring. tree container concept exposition