wrap each examples in IIFE to limit scope
implement destructors to tear down timers etc
ready for demo