functionality for deleting a group

Backend and frontend for deleting a group.