Rewrite header and organize template

Creates the wrapper template, changes the footer template, and revamps the header completely.