put trivial json code in single files
graph factory from json