static DataFactory() { try { AutofacModule = new DataModule(); } catch (Exception eLoadingModule) { Console.WriteLine("Loading of module failed; " + eLoadingModule.Message); } }