Refactored exportExperiment into Util class. Added validationUtil and move config, log into it. Move all input and error checking into the resources whenever possible