broke template into footer, default, header