Moved config into separate json file. Added ability to switch graph type.