Added unique filename functionalities to analysis and network creation files. Also separted the visualization part from the analysis