public PackageViewModel(ObservableCollection<string> packages, XElement document)
        {
            var parser = new Parser.Parser(document);

            Packages = new Dictionary<string, ObservableCollection<string>>();

            foreach (var package in packages)
            {
                Packages.Add(package, new ObservableCollection<string>(parser.ExtractPackageForms(package)));
            }
        }