Moved IoTerminals viewmodel implementation to own class