Added EngineLoop and changed to Tasks