add debug prints in xbee class. add xbee class to base