added template path in comment feature

for issue #9