Imported @ZaidM's Couchbase classes from cloudsoft-couchbase