Task manager removed, main class substitutes its functions