refactors Node. makes tree indentation configurable