OO based PTZ interface