First bits of the XBee library.