Created a node interface and populated it with some methods and javadoc