Fixed directory creation and configs file management.
Added script to generate average plot from result folder