Added indentation switch for the nodes and implemented it in the subclasses.
Added the methodnode