made configs a class