first version of a mapping submodule with the corresponding tests