Main mod class.