Refactored type registry usage, command and event bus more stable on closure, Couchbase provider can take connection pool and bucket as parameters