modify template rules and logic
remove comments
remove redundant code
refactored
append text nodes for each token
link to the object, not the element
build the initial fragment from tree
fix textNode index, start updateFragment