Setup teardown

@morrisco @KevinMcHugh For your review.  A PR for the smokestack_engine is also imminent.