Design and construction of driven pile foundation