changes TaskInfo class to allow periodic tasks to be stored