Extract each node type into a seperate file and start working on equality.