adding header and main templates