Set up base mod class and reference class