Split out header and footer