Water, wastewater and waste management in brewing industries