Update model.class.php

Adding defaults to model creation