Base mod class and reference class