added template.tex and makefile