removed BaseModel and added dbHnadler and dbQuery