add Graph Class