private static void Main(string[] args) { Persist.Initialize(); var server = new MasterServer(); server.Start(); Console.WriteLine("Listening on adress: " + Constants.HostUrl); Console.WriteLine("Press any key to stop server"); Console.ReadKey(); server.Stop(); }