Agent now records transactions to Mongo