Waste water treatment & pH adjustment