More refactoring, moved underscore to can hosted, wrote populateRankings func.