Integrated Approach to Design and Control of a Class of Countercurrent Processes