adding the core model class