update examples
improvements for template loading
added tests for template
add data grid exmaple
update dist