Extract RoomSession class