//Populates the ListBox on the CLient UI with new Packages Information whenever Changes are Made.
        private void PopulateListBox()
        {
            try
            {
                client = new SoftwareRepositoryService.RepositoryServiceClient();

                SoftwareRepositoryService.PackageInfo[] p = client.GetPackages();
                foreach (PackageInfo pi in p)
                {
                    Dispatcher.Invoke(new Action<PackageInfo>(AddListBoxItems), new object[] { pi });
                }
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }