General application for the treatment of effluent and reuse of wastewater