there was already a substantial underground facility here , developed over centuries to be either a clandestine refuge for government leaders in time of war or a last resort for humanity if life above became unlivable .