Added create group and delete group functions.