added a new class to handle assignment of values to Factor.