Break out grade functions into seperate files