adds working transaction_repository, all tests passing.