Master foundation template