Added some code for the link and node implementations.