added models/BaseModel.js