Changed Ranker object to pointer
Change the switch case instances in create_ranker
Temporary changes need to be discarded.