Added controller and observer to add task.