Added create group functionality.