add search runner
WIP: make caching work

FIXME: Cache limit is currently ignored. Do we need it still?