GP Foundations