adding templates directory