allow setting a database in plugin config, and provide database helper