Base and newmod

Added per-button channel and id remapping capabilities in ModHandler.