Added header and footer, re-worked structure.