Cold streams in early massive hot haloes as the main mode of galaxy formation