Refactory and service creation that captures the 
status of the transaction.