added a getClassesSubscribed method in the Model.java