generate the model spec and factory for group
generate the model spec and factory for audience