Fix ConfigLoader to be a singleton