Main template created, with appropriate partial headers