Freemasony was formalized around the time of the English Restoration of the Monarchy.
It is and always has been a Crown intelligence and command & control mechanism.
It was as incepted, an institutionalization of the international intelligence network embedded in British trade, commerce and finance begun by Willian Cecil, Robert Cecil and Walsingham