Created main mod class and ref class