Refaktor BaseModel to interface