added basic model class