fixed to use sync version of config loading. removed unnecessary modules