De-coupled addTransactionObserver from init method.
Merge pull request #1 from imsatya/master

De-coupled addTransactionObserver from init method.