Refactored TreeBuilder
Merge branch 'MED' of https://github.com/turekj/SemesterIX into MED