put couchdb specific functions in single file
reorg couchdb util bash functions