refactor BankCommand into DepositCommand and WithdrawCommand