[Editing/Gui] Refactored Node-specific Icon-getting; Exported the class into a separate file