Query logic and testing. Worked more on the ledger object. This will be the main displaying feature for transactions.