.gitignore
Refactored rendering function into closure

Only load the template once now.