Task thread and task mutex classes added