static void Main(string[] args)
        {
            try {

            CoreExtensions.Host.InitializeService();

            int port = int.Parse(args[1]);

            TSocket socket = new TSocket("localhost", port);

            TestInterface.Client client = new TestInterface.Client(new TBinaryProtocol(socket));

            socket.Open();

            TestPackage testPackage = new TestPackage(args[0]);
            RemoteTestRunner remoteTestRunner = new RemoteTestRunner();
            remoteTestRunner.Load(testPackage);
            remoteTestRunner.Run(new OurEventListener(client), TestFilter.Empty, false, LoggingThreshold.All);
              }
              catch(Exception e) {
            System.Console.WriteLine(e.Message + "\n" + e.StackTrace);
              }
        }
 public OurEventListener(TestInterface.Client client)
 {
     myClient = client;
 }