Adding a TradeStore to keep track of active trades and their states. Also implements the core trade flow and embed logic.