Convert querystring to hashstring for exporting

Moved methods to Visualizer
Location updated wrt latest input on runAlgorithm