Branch/success failure

@eric79 @scottnc27603 Here's the basic scenario success and failure handling. Please review.