add base model class