refactor separate compat mods to compat classes, bugfixes, bugfixes...