Refactoring and password masking.
Write out courses to console