refactor(task groups): add a form controller

Related to: CAM-3014