delete Main class