Change Main class