PR for affinity group API
Merge pull request #92 from MSOpenTech/review

PR for affinity group API