Added Graph related classes