Refactorisation learningFactory