Move queue components into the engine package