Add ValueGroup class
Add getGroups method