Add ability to pass additional data when building tree from string
add ability to set sql condition