Added CustomerGroups Resource

Added CRUD operations for CustomerGroups resource. Also tidied up using
references in some files