Refactored RoomController creation into ControllerFactory