add group model and api