Added the ability to get all transactions in a list and a debug mode