changed child nodes logix to traits

Nested collections of child nodes are easily coded into traits. They have a better hierachical behaviour.