What did the abbot remain as a town built around the abbey?