support config sub modules
refine db adapter creating work flow