Started work on refactoring TransactionPuller for being unit testing.