use mongo has storage and config to load configuration