@Override
        public void run() {
            try {
                Configuration config = new Configuration(configPath);
                CrawlersManager crawlManager = new CrawlersManager(dataPath, config);

                CrawlContext crawlerContext = crawlManager.createCrawler(crawlerId, configPath,
                        seedPath, modelPath, esIndexName, esTypeName);

                RestServer restServer = RestServer.create(config.getRestConfig(), crawlManager);
                restServer.start();

                try {
                    AsyncCrawler crawler = crawlerContext.getCrawler();
                    crawler.startAsync();
                    crawler.awaitTerminated();
                } finally {
                    restServer.shutdown();
                }
            } catch (Throwable e) {
                logger.error("Crawler execution failed: " + e.getMessage() + "\n", e);
            }
        }
<p>
Description: This is the main entry point for working with the components of ACHE
</p>
ache/src/main/java/achecrawler/Main.java