Implements room creation.