Mark APIs on Node as private or public
Description
This MR defines the scope of each class and methods in _yaml.
As we are moving to make the Node part public, I'm first marking accordingly the methods and attributes.
Another PR will soon come to make the module public.