Add basic graph plotting class