added async config loading support