Initial implementation of Node class.