Some improvments. You can now add multiple classes.
Added method getClasses for this purpose to Node.