add TaskInfo class