What is a document that sets up the broad organization of a government and the rules under which it operate?

a constitution

a charter

a code

articles of confederation

??