Remove the ConfigFactoryInterface and further optimizer the ConfigResolver