added templates directory