make constructor private since config is a singleton