Development of two phase anaerobic reactor with membrane separation system