Technology for water disinfection, preservation, and quality improvement