JS class for creating room and storing a rooms list.