Refactoring BankAccount