logging in output folder
Saving plot and parameters
Removing unused config