Node Preference modeling
Refactoring name to node preference
Documentation and formatting
Use a hash lookup to get class names instead