created base for search tableViewCell and the logic driving it