refactors Lightsquare templates to get rid of extraneous divs
refactors header