adding groups model, controller