Creation of QualGenerator class