Ranker class implemented.