Group support

Added support for creating and deleting groups, and adding and removing users from groups.