Move header and footer component to common directory