Fix a few shortcomings in the API
Add remote control script