def __init__(self, comm): self.comm = comm self.repl = ProgrammaticREPL() self.execution_thread = ExecutionThread(self.repl) self.payload_handler = PayloadHandler() self.execution_thread.start()