class config