consolidating some repeated code into set_command. also writing a bunch of ble commands. so far written all the system commands + set_local_data