add mvc pattern support
fix issue when adding a text node to DOM
add new extend model