Adding a method to get the model names

added a method and a variable in order to make possible to get the models names