Efficient Wastewater Management in Large Industries