Major updates

Add RankSorter to output final result
Add a step to merge output files
Modify red-link removal algo to avoid some nodes loss
Modify paths to meet AWS EMR requirements