Clean up some code
Make sure courses are empty when starting the program