Formation and Development of Molecular Clouds - prospects for high resolution spectroscopy with CCAT