Set up mod class