made base mod class and updated version to be more proper