Init header, footer, index