Adding deployment class and OTA logic