Add node classes for list and dlist
More work done on single list