Add NodeType, move main class
README.markdown updates