[Parallel] Extract the engine to a separate module