The structure of an object, process, organization, or anything viewed as complicated; -- used primarily in the phrase the whole shebang; as, it comes with unnecessary frills, but you have to buy the whole shebang.
Shebang is a word meaning "any matter of present concern; thing; business" (1869). It is most frequently used in the phrase "the whole shebang", which first appeared in written records in 1862. "The whole chebang" [sic] was used to mean "a building and everything in it".