Created the basic model class.