TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Apparatus: The raffinate outlet is in fluid communication with (b2). The secondary stage is a water gas step membrane reactor, or a flat plate heat exchanger operating as a purifier. (r1) comprises a flat plate heat exchanger having a lower channel through which reacting feedstock passes and an upper channel through which heated gases passes in a direction non-concurrent with flow in the lower channel.The water gas step membrane reactor is a flat plate heat exchanger having reactant channels containing catalyst media and channels containing the purified gas product and having a purified product permeable gas membrane between them. (A1) further comprises a heat exchanger transferring heat between the purified product gas and the combustible gas; a second pressure sensor monitoring a product gas pressure in fluid communication with the product outlet; a second control valve metering the combustible gas to (b2), responding to signal generated by the computer controller; an oxygen sensor monitoring oxygen content within the waste gas outlet and communicating the oxygen content to the computer controller.Preferred Components: The purified product gas is hydrogen or carbon dioxide. The feedstock is an aqueous organic feedstock (preferably aqueous mixture of alcohol, ketone, alkane, alkene, alkyne, aldehyde and aliphatic); or ammonia. The membrane is a metal alloy or a polymer.Preferred Process: The feedstock is preheated within a pump supplied boiler. (P1) further involves metering the feedstock to a burner in thermal communication with said reactor so as to maintain said reactor at a temperature promoting the endothermic reaction; monitoring reactor temperature and communicating reactor temperature to a computer controller; monitoring reactor pressure and communicating reactor pressure to the computer controller; combusting the raffinate gas flow in the burner to yield a waste gas stream; heat exchanging between the waste gas stream and the feedstock so as to preheat the feedstock prior to the reactor; providing a combustible gas flow to the burner; and providing feedstock to the burner so as to heat the reactor. The combustible gas flow is provided stoichiometrically burn the raffinate.