Improved reset alg. and specified ToHtml for template elements
Finished template implementation
Added tests for the template
Final touches on the template element
More playground - testing short samples