Model view pattern implemented for csharp.