fixed setBank bug, and removed main in Client