Replace explicit Prof/Course model with ManyToMany relationship.