Node editor, many operations - how to make it maintainable - C#