added makefile and template for pandoc use