some code movement and removal in selectors and scopes before adding scope-to-reason. Removed code was only being used in testing.
Adding in some basic boilerplate for groups service. --- #### Does this PR need a docs update or release note? - [x] ⛔ No #### Type of change - [x] 🌻 Feature