a lot of new input parameters in rf module, implemented a pruning system in the rf tree plus some runtime performance improvements