move search basic functionality into base class
move path basic functionality into paths base