Added base search handler class with helper method.