adding FreeMarker template engine