adds DocumentGroups and parentsIDs to resources
DocumentGroups implementation finished