Water quality management library