Config and class-based app