Parent-child relationship could be established using Hierarchy/HierarchyBelongsTo functions in the script. But the front end experience demands a bit more. If one selects a parent, the children should be considered to be selected. That is what I have tried and implemented. I am not sure if there is an easier way. If there is, would request to share. I am uploading this hoping that some might find this helpful.