A lot of work in the TreeElement class and beginning of the GeneralConfiguration class