creating the model class