reconfigured auto conf xbee.py to git into a usable function structure