During the Middle Ages St Andrews Cathedral was surrounded by buildings. There was accommodation for the canons who served the cathedral, housing for pilgrims who visited St Andrew's shrine, barns for storing the food and produce given to the church,…