Andrew Bailey has been appointed as the governor of the Bank of England.