begin add of search controller and index view