Factored the implementation for the filtering algorithm. Execution time increased due to regex and some minor quirks exist that need to be resolved.
Updated regex logic to remove extra whitespaces from removing stop words.
Connected executeHandler to the filterQuery function though retrival not currently implemented.