Link command dispatcher, task queue and runner together