Machines for Foundations