написал черновик, решил проверить как будет работать.
имя класса и имя файла совпадает и получаем ошибку
One of the classes is an explicit generated class using the class statement, the other is a class generated from the script body based on the file name. Solutions are to change the file name or to change the class name.