Make main more straightforward and add the issueMapper.