added pinging, stale checking, point updates, cleardb