change to node also adding card class and deck class

node now refers to card object