GraphsDS3 added

More generic and flexible base data structure