The complete code related to my blog post on flexible software. http://larspan.wordpress.com/2014/02/10/a-thought-on-flexible-software/