Added utility fonctions to apply on Transactions. Refactor of the output.