adding in beginnings of material and model class