decided to make bank a class and other process to be a thread. so add a bank.h