migrated success and failure ode to factory
removed coin flip, added template for async dice throw