added templates dir