Mapper in separat java class