Add master page to template engine