Bio-electrochemical systems for energy gathering from wastewater