added comments, removed unused source code and added a description for the operators CreateChildren and CreateChildrenHardWired(ticket #580)