refactored room into own class