Add dgraph.cpp dgraph.h