Add function which replaces boiler plate code for creating a live loop
Experiment by making wait polymorphic - i.e. handles both sync and sleep
Pull in rouge lib for HTML syntax highlighting