add node.java file