This is a reference implementation of Layers in OOD, written in C#.