Major speed increases, actual travis fix

Remove reading/writing of files, graph takes a JSON object as a
parameter.