moved uptime xively to xively class