static void Main(string[] args) { log.Info("Starting...Press 'Exit' to exit."); ///Initalize Manager ClientManager.Initalize(); ///Starting the client connection HostManager.Start(); while (true) { ///Exit for closing string input = Console.ReadLine(); if (input == "Exit") { break; } } ///Stoping the client connection HostManager.Stop(); ActionScriptManager.Dispose(); log.Info("Closing..."); }