Various changes to accomodate lookup shit

Changes made to make student rankings module faster