It was later reused for such purposes as housing , workshops , quarters for a religious order , a fortress , a quarry , and a Christian shrine .
It was then used as housing , workshops , a Christian shrine , and as a supply of building stones .