Moved the TaskInfo model out into a separate class and folder.