Major refactoring of transaction handling - Added UOW and TxListeners.