Cleaned up  the deduper remote API file, added a external tree reload call facility.