move ForgeCommandFilter class to core plugin along with some helpers that are non-ui related