c# files relating to environment generation