Add base code for remote control