Added memoization of 'search' + cycle every 5 minutes