load the correct model class from the settings