add couchdb
add gflags for remote client