Added BasicModel class