added remove group to GroupService, remove repository to RepositoryService
(cherry picked from commit 74336420b0e96e7fd789d1ec06f0b11c82b41fad)