added recursive methods to pull groups and services