remove Main class