Laying out the basic structure.