Fixing Node issues, adding abstract ANode class