Add freemarker configuration