more fixes
start of implementing rpc
started stitching in tx and rx