add request handler/publiser for traderouter, add test codes