Basket refactor

list<Goods> --> Dictionary<int, Goods>