Group service refactored.
Groups service created.