BaseModel and BaseController

BaseModel and BaseController  classes add