public static Commodity CommodityFromEliteID(long id)
        {
            Commodity Commodity = new Commodity();

            Commodity Template;
            if (CommoditiesByEliteID.TryGetValue(id, out Template))
            {
                Commodity.EDDBID = Template.EDDBID;
                Commodity.Name = Template.Name;
                Commodity.Category = Template.Category;
                Commodity.Rare = Template.Rare;
                Commodity.AveragePrice = Template.AveragePrice;
            }
            return Commodity;
        }
        public static Commodity CommodityFromCargoName(string name)
        {
            if (name == null)
            {
                return null;
            }

            Commodity Commodity = new Commodity();

            // First try to map from cargo name to the commodity name
            string cargoName;
            cargoNamesMapping.TryGetValue(name, out cargoName);
            if (cargoName == null) { cargoName = name; }

            // Now try to fetch the commodity by name
            Commodity Template;
            if (CommoditiesByCargoName.TryGetValue(cargoName, out Template))
            {
                Commodity.EDDBID = Template.EDDBID;
                Commodity.Name = Template.Name;
                Commodity.Category = Template.Category;
                Commodity.Rare = Template.Rare;
                Commodity.AveragePrice = Template.AveragePrice;
            }
            return Commodity;
        }