load config and pouchDB synchronously

:D