Added cGroup resoruce

Added cGroup resource based on xGroup

Fixed a bug where xGroup would generate errors when a group was created.