Made config a singleton