move workflow code in transit method with request

move workflow code in transit method with request type. initialize
triplex in constructor.