added extra null param to request (required by arduino code)
Added inner class for holding types of IR commands