Completely revamped how templates are rendered. Added 'Renderer' objects.