Pulling up success flag functionality into Maestro base.

@stephanh Can you please review flag creation , we can move this up here.
no need for the temp variable you can just use new Configuration directly.
However, I think you should be able to supply a configuration with `new Configuration` as the default.