Refactored SearchHandler(Created SearchQueryBuilder class).