changed index to a sorted set to elminate duplicates while saving to couchdb
added back the range download, not fully working yet
minor tweaks to try to get range download working