Added create group api.