refactor class_name storage

make class_name a class variable and use the variable for:
=> the constructor of ElementModel()
=> registering a new string => class member in the
element_model_to_class dictionary
This should prevent errors due to mistyping the string in one of the 2
places.