Delete Main class