setup basic methods/routing for searches