System based approach for an integrated water quality management in urbanized areas