adding in variables for nrf8001_init func
some cleanup and code organization. Also added a check in to see if we missed the nrf8001 signalling that it is ready. This occurs if the nrf8001 init function is run after the nrf8001 pulls down the RDYN lien