finished refactoring code and added a graph viewer - soon to be converted to an experiment creator