Added Mod class
Changing gem structure.