Add ability to turn cache on/off. Start of graph. Fix for log file creation per test.