refactored roomlike groups to a single class.