improve code style
add vcf template to resources