small addition to ZeroClassGenerator and add base MainWindow