updating xbees and communication controllers

changed receive package function to return boolean indicating successful
receival or not, generally cleaned up code