Stormservice to take in opts for logPath and configPath. Also, enabled auto elimination of all previously generated cofnigs if agent invoke fails during POST request