Made Header and Footer as components