Added constructor to Class model class