Added original mapping file and script from Victor.
Reworked script, documentation, and test suite.