createModel

Creates a model using the specified model type.