Pulling up success flag functionality into Maestro base.

@stephanh Can you please review flag creation , we can move this up here.
Do you really need `(x: String)` or can uou just have `x`?