Made code syncronous and added template caching
Added hooks on parser to modify the output externally
Created a global cache object
Replaced Handlebars with _.template