Rough proof of concept remote control. Needs tidying