Added a method for clearing children and adding lists of children to KVs.

Added comments for all the public facing methods