Create group nodes and add labels
Adds labels, parents and groupids