Java application to emulate typical transactions in a bank