Mod Main class