[core][mapping] Add new file for mapping functionalities. It includes fitting and moments computation