Change way to test if template, exists, using java 7 Files#exists(Path).
Make sections labels more clear.
Various fix, null object or bad cast...
Implement Main. Usage "mvn exec:java -Djsdir=jsdir [-doutputdir=outputdir]