splitting index up into header, footer, and sidebar files