Exported mappings to it's own, required, file.
Changed mappings into a self-contained API.