change class config to rbconfig