Added saving instructors and their relationships with courses. Refactoring.