add BaseModel.java