Added feature so that children notify parents and parents save children in a queue structure of 20 elements
remover residual unused structures