Added a BaseTaskForm class