Membrane porting

Membranes functionality