-reformat code
-remove unused debug methods
-set Freemarker's default encoding and URL escape charset to UTF-8