feature truncate option
refactor base class, add extended class for custom couchbase connector