MODIFIED config class to have private members instead of public