remove injection and default graph, require construction with a specific graph

in response to pull req  #1226