Updated Template Engine, much better syntax now.