Class for searching using a requesthandler