Added main mod class and reference class.