factored the kairos code out of the weather sync