Added constants class and updated Mod class