David Cunningham of Robertland — Master of Work to the Crown of Scotland and Surveyor of the King's Works in England