updated HardCodedNodeBuilder.java with text nodes and some minor changes