implement resource exchange.
fully implement actor tests and pare down excess tests