add a minimal remote control API