TradeManager: Move to the ui package (it's only used from the ui so it belongs to it).