Added validation for bank codes and the retrieval of bank info from a mysql db.