Adding header and footer templates.
Switching server to debug by default.