added templates dir
finally configured templates