Adding new search routes and trying to fix headers for OPTIONS requests.
Search support file.