Add group API
Merge pull request #934 from kennknowles/group-api

Add group API