Random spaces