simplified fetching of class config