Add transaction event methods

Refactoring project structures
Add transactionDidBegin, transactionDidEnd methods