setup foundation template