implemented group creation

Hi, please consider my pull request, it is a simple add that enable group creation