Simple example of csharp object factories. Learning!