Refactoring to use a custom app to load the datasets and update the transaction table.