move master content into header and footer php files