Add template cache, when file changed, cache will destroy automaticlly.
Simplify data structure when return fail info after render.
Remove console.log.