add a basic index worker, to move processing out of webhandler