Made the scheduling algorithm files have less globals in them