bdb.setDir(new ConfigPath("test",state.getAbsolutePath()));
// def.set(bdb, BdbModule.DIR, state.getAbsolutePath());
bdb.start();
CrawlController controller = new CrawlController();
controller.setServerCache(new BdbServerCache());
controller.start();
return controller;
}