Extract StepRunner class
Handle return codes in steps properly