every important church was a monastic establishment, with a small walled village of monks and nuns living under ecclesiastical discipline, and ministering to the people of the surrounding area. Monastic spirituality came to Britain and then Ireland from Gaul, by way of Lérins, Tours, and Auxerre. Its spirituality was heavily influenced by the Desert Fathers, with a monastic enclosure surrounding a collection of individual monastic cells. The British church employed an episcopal structure corresponding closely to the model used elsewhere in the Christian world. Illtud, David, Gildas, and Deiniol were leading figures in 6th-century Britain. According to Thomas O'Loughlin, "Each monastery should be seen, as with most monasteries of the period, as an individual response to the monastic impulse by someone who had experienced monasticism and then went off to establish either a hermitage to which others later came or a cenobitic community." The monasteries were organized on a family basis. Next in importance to the abbot was the scribe, in charge of the scriptorium, the teaching function of the monastery, and the keeping of the annals. The role of scribe was often a path to the position of abbot. Hereditary right and relationship to the abbot were factors influencing appointment to monastic offices. Buildings would generally have been of wood, wattle, and thatch. Monasteries tended to be cenobitical in that monks lived in separate cells but came together for common prayer, meals, and other functions. Celtic monasticism was characterized by a rigorous asceticism and a love for learning. Some more austere ascetics became hermits living in remote locations in what came to be called the "green martyrdom". Women's communities Women's communities were normally much smaller and poorer. The nuns had to do everything themselves unless they had a couple of tenant-farmers to supply food, or pious who made donations. They spun and wove, kept their huts clean, milked their cows, and made their own meals, which could be meager. Double monasteries The monastery of Brigit of Kildare at Kildare, Ireland, was a double monastery, with both men and women, supervised by an Abbess, a pattern found in other monastic foundations. Scotland Around 397, Ninian, a Briton probably from the area south of the Firth of Clyde, dedicated his church at Whithorn to St. Martin of Tours. According to Bede, Ninian evangelized the southern Picts. Kentigern was an apostle of the British Kingdom of Strathclyde in the late 6th century