refactor parametrized mapper, complete main pom file