Move header and footer to components