initial appcontroller code to start search services