create plugins and app database and create basic app config document on install