Removed some unused stuff, changed the label variable in graph.py
Changed segments to use a json for delimiters. Also silly variable names.
Further cleanup