replaced Request and Response with Transaction
Merge pull request #16 from qp/reqrestomsg

replaced Request and Response with Transaction