Rewrote templates to use tornado template system and setup aggressive static file caching