Set up @Mod class, basic proxies and reference class.