auto-configure the database/collections during startup