Mapper refactorings.
Refactor to use BYTEVECTOR.
First pass at MMC1.