Configuration cfg = new Configuration();
File templateDir = new File(TubainaBuilder.DEFAULT_TEMPLATE_DIR, "kindle/");
cfg.setDirectoryForTemplateLoading(templateDir);
cfg.setObjectWrapper(new BeansWrapper());
Parser parser = new HtmlParser(new RegexConfigurator().read("/regex.properties",
"/html.properties"));
ResourceManipulatorFactory kindleResourceManipulatorFactory = new KindleResourceManipulatorFactory();
File temp = new File("tmp");
TubainaHtmlDir bookRoot = new TubainaKindleIO(templateDir, kindleResourceManipulatorFactory)