make config resource loader  method public