Companion code for IoC Origins talk