make class node an seperated file