FunctionRegistry.add("cut", new CutStringFunction(config.getCharset()));
FunctionRegistry.add("escape", new XmlEscapeFunction(config.getCharset()));
FunctionRegistry.add("remove", new RemoveAttributeFunction());
FunctionRegistry.add("modOut", new ModuloOutputFunction(config.getCharset()));
ViewFileReader reader = new ViewFileReader(config);
List<String> javaFiles = reader.getJavaFiles();
List<String> templateFiles = reader.getTemplateFiles();
List<String> classNames = reader.getClassNames();
for (int i = 0; i < javaFiles.size(); i++) {
String c = javaFiles.get(i);
final String classFileName = c.substring(0, c.length() - 4) + "class";
ClassLoader classLoader = new TemplateClassLoader(classFileName, TemplateFactory.class.getClassLoader());