Basic createModel functionality