Base mod class