Refactored and fixed load_data

-load_data.php uses infile now
-refactored function to populate prereq table