added Graph and GraphBuilder to handle building an ordered list of entities to be saved
merge fix