adding example code from couchbase and dependencies