adde clear and upload functions. cleaned up.  added weather and facility