Design and construction of foundations and earth retaining structures