static void Main(string[] args) { Log.Logger = SetupLogger(); var scraperBuilder = new ScraperBuilder(config => { config.ScraperNo = int.Parse(ConfigurationManager.AppSettings["ScraperNo"]); config.DBreezeDataFolderName = ConfigurationManager.AppSettings["DBreezeDataFolderName"]; config.Scrapers = int.Parse(ConfigurationManager.AppSettings["Scrapers"]); config.SyncInterval = int.Parse(ConfigurationManager.AppSettings["SyncInterval"]); config.ScraperConnectionString = ConfigurationManager.AppSettings["ScraperConnectionString"]; }); ICoordinator controller = scraperBuilder.Build(); controller.Start(); Console.ReadLine(); controller.Stop(); Console.ReadLine(); }