Reference and main mod class