Freemarker for r scripts

Setup freemarker for templating R model run scripts.