Add detect main body function

1. Add detect main body function (with "thresholdT" = 0.8 )
2. Refactor: dnc -> hnc