I am posting this code to show what I thought was a reasonable, lightweight architecture, back in 2006.