removed deprecated calls from the TaskManager and abstracted it
removed some classes and moved stuff around
refactored the values of the Direction enum