Moving quality related code from NominalProject to gal.Quality