Added a main-method the the WorkloadManager and the TaskManager.