Refactoring and debugging to get must_bank.rs to work.