Updated the template location and fixed a few minor bugs.

Moved the templates under templates/default and fixed a few typos
including converting the keys in the attributes to symbols and
replacing some single quotes with double quotes.