Advanced membrane technology and applications