public static void Begin()
 {
     IOC.SetLocator(new NinjectServiceLocator());
     Logger.SetLogger(IOC.ServiceLocator.GetInstance <ILog>());
 }