Main mod class base