moved search strategy to MManager. Simplified Main and Driver.