added Node class.