first commit with the mapper code

This is the first commit of the code which once was embeded in ltrace
the original repo is in
https://github.com/lclementi/mapper

code does not compile yet