[refactor] commonality to support other feature extractions
[feature] remove .reply elements
[feature] add an inTree flag to all nodes
[feature] inline text by text nodes
[refactor] update fase-2 to use the new API
[lable] update state