move header, navbar, footer to common util class