allowing a class of a model to be passed to model_form; if a class is passsed, it will be instantiated within the model_form routine