refactor of membrane's collector and feed for optimization, closes #88