make template path configureable

to make the template path configureable