Added header and footer into base template

Closed #3