siplify usage of couchbase api