Adding templates directory
Fixing html escape