created search object factory to clean up product controller; further refactoring needed