Created DataSource and changed SearchEngineAlgo to use DataSource