added the mapper base classes
example mapper which places everything into a single segment