setting up freemarker java template

stage 1.1  working