Add base template and header