{
this.cfg = new Configuration();
this.cfg.setClassForTemplateLoading(Main.class, "templates");
this.cfg.setObjectWrapper(new DefaultObjectWrapper());
this.cfg.setDefaultEncoding("UTF-8");
this.cfg.setSharedVariable("message", new MessageDirective());
this.cfg.setTagSyntax(Configuration.SQUARE_BRACKET_TAG_SYNTAX);
}