core: add base_id & init trade_pile
core: update trade_pile
core: change variable name cards -> items