add SAG couchDB wrapper library