Design, development and optimization of purification process