A demonstration of using the Cake pattern with Scala