add templating classes
add template.ftl
make template work better, prepare a line example