a stage improvement of TreeRegex
refactor
add Separator class
new dev for configuring TreeRegex