Removed all direct interactions between Workflow and Task Models. Constructor signature changed for TaskModel.