give pouchdb lib instance to plugin app server configuration