added jansoe, plus minor refactoring in algo factory