Moves saveGroup logic to service