initial version of dynamic children

-code cleanup
-started working on components for dynamic children insertion