Added taskfactory and implemented task manager loop