move express search query string parsing into own module.