remove self.state self.x1_queue self.cmd_queue, directly use
self.factory.state self.factory.x1_queue self.factory.cmd_queue