Added major/minor relation to department model, update Department controller with new relation functions