command processor, message decoder