move package private vars to constructors
move graph info from node/relation to graph, make localChanges private